package com.skydonkey.pojo.vo;

import java.util.Arrays;

public class VideoPublishReq {

    private Long uid; //发布视频的人的uid
    private String videoKey;    //视频key
    private String videoUrl;    //视频url
    private String coverKey;    //封面key
    private String coverUrl;    //封面url
    private String title;   //标题
    private String permission;  //权限
    private boolean publishNow; //是否立即发布
    private Boolean joinVideoAct;   //是否参与活动

    private Integer[] videoCategoryIds;    //视频类别
    private Integer choosenVideoActivities; //选择参与的活动
    private String desc;    //视频简介
    private Long duration;  //视频时长

    public String getVideoKey() {
        return videoKey;
    }

    public VideoPublishReq setVideoKey(String videoKey) {
        this.videoKey = videoKey;
        return this;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public VideoPublishReq setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
        return this;
    }

    public String getCoverKey() {
        return coverKey;
    }

    public VideoPublishReq setCoverKey(String coverKey) {
        this.coverKey = coverKey;
        return this;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public VideoPublishReq setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public VideoPublishReq setTitle(String title) {
        this.title = title;
        return this;
    }

    public String getPermission() {
        return permission;
    }

    public VideoPublishReq setPermission(String permission) {
        this.permission = permission;
        return this;
    }

    public boolean isPublishNow() {
        return publishNow;
    }

    public VideoPublishReq setPublishNow(boolean publishNow) {
        this.publishNow = publishNow;
        return this;
    }

    public Integer[] getVideoCategoryIds() {
        return videoCategoryIds;
    }

    public VideoPublishReq setVideoCategoryIds(Integer[] videoCategoryIds) {
        this.videoCategoryIds = videoCategoryIds;
        return this;
    }

    public Boolean getJoinVideoAct() {
        return joinVideoAct;
    }

    public VideoPublishReq setJoinVideoAct(Boolean joinVideoAct) {
        this.joinVideoAct = joinVideoAct;
        return this;
    }

    public Integer getChoosenVideoActivities() {
        return choosenVideoActivities;
    }

    public VideoPublishReq setChoosenVideoActivities(Integer choosenVideoActivities) {
        this.choosenVideoActivities = choosenVideoActivities;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public VideoPublishReq setDesc(String desc) {
        this.desc = desc;
        return this;
    }

    public Long getUid() {
        return uid;
    }

    public VideoPublishReq setUid(Long uid) {
        this.uid = uid;
        return this;
    }

    public Long getDuration() {
        return duration;
    }

    public VideoPublishReq setDuration(Long duration) {
        this.duration = duration;
        return this;
    }

    @Override
    public String toString() {
        return "VideoPublishReq{" +
                "uid=" + uid +
                ", videoKey='" + videoKey + '\'' +
                ", videoUrl='" + videoUrl + '\'' +
                ", coverKey='" + coverKey + '\'' +
                ", coverUrl='" + coverUrl + '\'' +
                ", title='" + title + '\'' +
                ", permission='" + permission + '\'' +
                ", publishNow=" + publishNow +
                ", joinVideoAct=" + joinVideoAct +
                ", videoCategoryIds=" + Arrays.toString(videoCategoryIds) +
                ", choosenVideoActivities=" + choosenVideoActivities +
                ", desc='" + desc + '\'' +
                ", duration=" + duration +
                '}';
    }
}
